const install = (vue, options) => {
	let api = {
		// 微信登录
		wxLogin: (params = {}) => options.$request.post("/login", params),
		//修改
		ti: (params = {}) => options.$request.post("/updated", params),
		// 查询
		cha: (params = {}) => options.$request.post("/personala", params),
		// 查询队伍
		chadui: (params = {}) => options.$request.post("/joins", params),
		//修改队伍
		xiu: (params = {}) => options.$request.post("/joina", params),
	};

	vue.prototype.$api = api;
};

export default install;
